package com.jindy.module.workreport.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 工作日报对象 t_work_report
 * 
 * @author jindy
 * @date 2023-02-22
 */
public class WorkReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String username;

    /** 报告类型(0:日报 1:周报 2:月报) */
    @Excel(name = "报告类型(0:日报 1:周报 2:月报)")
    private String formType;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 工作内容 */
    @Excel(name = "工作内容")
    private String workContent;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String subordinateDepartment;

    /** 岗位 */
    @Excel(name = "岗位")
    private String station;

    /** 今日完成工作 */
    @Excel(name = "今日完成工作")
    private String todayFinishedwork;

    /** 未完成工作 */
    @Excel(name = "未完成工作")
    private String unfinishedWork;

    /** 需要协调的工作 */
    @Excel(name = "需要协调的工作")
    private String assistWork;

    /** 图片 */
    @Excel(name = "图片")
    private String image;

    /** 附件 */
    @Excel(name = "附件")
    private String enclosure;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setFormType(String formType) 
    {
        this.formType = formType;
    }

    public String getFormType() 
    {
        return formType;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWorkContent(String workContent) 
    {
        this.workContent = workContent;
    }

    public String getWorkContent() 
    {
        return workContent;
    }
    public void setSubordinateDepartment(String subordinateDepartment) 
    {
        this.subordinateDepartment = subordinateDepartment;
    }

    public String getSubordinateDepartment() 
    {
        return subordinateDepartment;
    }
    public void setStation(String station) 
    {
        this.station = station;
    }

    public String getStation() 
    {
        return station;
    }
    public void setTodayFinishedwork(String todayFinishedwork) 
    {
        this.todayFinishedwork = todayFinishedwork;
    }

    public String getTodayFinishedwork() 
    {
        return todayFinishedwork;
    }
    public void setUnfinishedWork(String unfinishedWork) 
    {
        this.unfinishedWork = unfinishedWork;
    }

    public String getUnfinishedWork() 
    {
        return unfinishedWork;
    }
    public void setAssistWork(String assistWork) 
    {
        this.assistWork = assistWork;
    }

    public String getAssistWork() 
    {
        return assistWork;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setEnclosure(String enclosure) 
    {
        this.enclosure = enclosure;
    }

    public String getEnclosure() 
    {
        return enclosure;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("formType", getFormType())
            .append("date", getDate())
            .append("name", getName())
            .append("workContent", getWorkContent())
            .append("subordinateDepartment", getSubordinateDepartment())
            .append("station", getStation())
            .append("todayFinishedwork", getTodayFinishedwork())
            .append("unfinishedWork", getUnfinishedWork())
            .append("assistWork", getAssistWork())
            .append("image", getImage())
            .append("enclosure", getEnclosure())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
